﻿namespace FiftyOne.Foundation.Mobile.Detection.Wurfl.Matchers.EditDistance
{
    using FiftyOne.Foundation.Mobile.Detection.Wurfl.Handlers;
    using FiftyOne.Foundation.Mobile.Detection.Wurfl.Matchers;
    using System;
    using System.Threading;

    internal class Request : FiftyOne.Foundation.Mobile.Detection.Wurfl.Matchers.Request
    {
        private FiftyOne.Foundation.Mobile.Detection.Wurfl.Matchers.EditDistance.Results _results;

        internal Request(string userAgent, Handler handler) : base(userAgent, handler)
        {
            this._results = null;
            this._results = new FiftyOne.Foundation.Mobile.Detection.Wurfl.Matchers.EditDistance.Results();
        }

        internal Request(string userAgent, Handler handler, AutoResetEvent completeEvent) : base(userAgent, handler, completeEvent)
        {
            this._results = null;
            this._results = new FiftyOne.Foundation.Mobile.Detection.Wurfl.Matchers.EditDistance.Results();
        }

        internal FiftyOne.Foundation.Mobile.Detection.Wurfl.Matchers.EditDistance.Results Results
        {
            get
            {
                return this._results;
            }
        }
    }
}

